<style lang="less" scoped src="../../public.less"></style>
<script src="./applyclasstime.js"></script>

<template>
    <div>
        <Form :label-width="100">
            <FormItem label="请选择课时类型:">

                <RadioGroup type="button" v-model="classTimeType" @on-change="whenRadioChange" >
                    <Radio v-for="item in classTimeList" :label="item.id" :key="item.id">
                        <span>{{item.name}}({{item.classTime}}节)({{item.price}}元)</span>
                    </Radio>
                </RadioGroup>
            </FormItem>

            <FormItem label="请输入课时(节):">
                <InputNumber  v-model="classTime" style="width: 180px;" @on-change="whenInput"></InputNumber >
            </FormItem>
        </Form>
    </div>
</template>
